package com.lipeng.mapper;

import com.lipeng.bean.Collect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectMapper {
    int deleteByPrimaryKey(Integer colid);

    int insert(Collect record);

    int insertSelective(Collect record);

    Collect selectByPrimaryKey(Integer colid);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    List<Collect> selectCollectByUid(Integer uid);

    List<Collect> findCollect(@Param("sid")Integer sid, @Param("uid")Integer uid);
}